package cn.exrick.xboot.index.entity;

import lombok.Data;

@Data
public class ParamVo {
    public static final int day=0;
    public static final int week=1;
    public static final int month=2;

    public static final int HONTLOG=0;
    public static final int CHECK=1;
    /**
     * 0 登录人数 1：考核次数
     */
    public Integer type;
    /**
     * 0：今日 1本周 2本月 3其他
     */
    public Integer selectType;
    public String beginDate;
    public String endDate;

    private Integer pageNumber;

    private Integer pageSize;

    private Integer firstRow;

    private Integer lastRow;

    public Integer getFirstRow() {
        firstRow=pageSize*(pageNumber-1);
        return firstRow;
    }

    public Integer getLastRow() {
        lastRow=pageSize;
        return lastRow;
    }
}
